package com.stgy.lease.web.admin.service;

import com.stgy.lease.model.domain.FacilityInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stgy.lease.model.enums.FacilityInfoTypeEnum;

import java.util.List;

/**
* @author lingx
* @description 针对表【facility_info(配套信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:29
*/
public interface FacilityInfoService extends IService<FacilityInfo> {

    //[根据类型]查询配套信息列表
    List<FacilityInfo> listByType(Integer type);

    List<FacilityInfo> listByEnum(FacilityInfoTypeEnum typeEnum);

    //新增或者更新配套信息
    boolean saveOrUpdateFacilityInfo(FacilityInfo facilityInfo);
}
